public class Icon { private int id; private int x, y; // offset from the top and left of the screen private int squareLength; public Icon(int id, int x, int y, int length) { this.id = id; this.x = x; this.y= y; this.squareLength = length; } }